<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        
    </style>
</head>
<body>
    
</body>
<script>

    console.log( String( "hello" ) );

    console.log("---------");

    console.log( String( 0 ) );
    console.log( String( 1 ) );
    console.log( String( -1 ) );
    console.log( String( 3.1415 ) );
    console.log( String( NaN ) );

    console.log("---------");
    
    console.log( String( true ) )
    console.log( String( false ) )
    
    console.log("---------");
    
    console.log( String( undefined ) )
    console.log( String( null ) )
    
    console.log("---------");
    
    console.log( String( function(){} ) )
    console.log( String( function(){console.log(1)} ) )
    
    console.log("---------");

    console.log( String( {} ) )
    console.log( String( {name:"admin"} ) )
    console.log( String( [] ) )
    console.log( String( [1231] ) )
    console.log( String( [1231,367] ) )
    console.log( String( [{},{}] ) )

    console.log("---------");
    
    console.log( (365).toString() );
    console.log( (365.789).toString() );
    console.log( (-365.789).toString() );
    console.log( (-0).toString() );
    console.log( (true).toString() );
    console.log( ({}).toString() );
    console.log( (function(){}).toString() );
    console.log( ([]).toString() );
    console.log( ([{}]).toString() );
    console.log( ([123]).toString() );
    // console.log( (undefined).toString() );
    // console.log( (null).toString() );

    console.log("---------");

    console.log( (365).toFixed() )
    console.log( (365.789).toFixed() )
    console.log( (365.789).toFixed(2) )
    console.log( (365.789).toFixed(5) )
    





</script>
</html>